.thumb {
    font-size: 1.4em;
}

.class-text {
    flex-wrap: wrap;
}

/* body, html {
    height: 100%;
} */

body {
    /* width: 100vw */
    overflow-y: scroll;
}

/* width */
::-webkit-scrollbar {
    width: 0.8em;
    height: 0.8em;
}

/* Track */
::-webkit-scrollbar-track {
    background-color: #e7e6e6;
    border-radius: 0px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #d3d3d3;
    border-radius: 0px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: rgb(168, 175, 179);
}

/* html {
    margin-right: calc(-1 * (100vw - 100%))
} */

.bg {
    /* The image used */
    /* background-image: url('https://imagizer.imageshack.com/img924/5713/AeOoZe.jpg'); */
    background-image: url('../img/bg2.jpg');

    /* Full height */
    height: 100%;

    /* Center and scale the image nicely */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.navplus-icon {
    height: 23px;
}

.ext-gps-badge {
    background-color: #FFD700;
    font-size: 0.8em;
    vertical-align: middle;
}

.vessel-info-outer {
    padding: 4px !important;
}

.vessel-info-inner {
    padding: 8px !important;
}

.vessel-image {
    width: 100%;
    height: 8vw;
    object-fit: cover;
}

.vessel-image-show {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
}

.vessel-image:hover {
    cursor: pointer;
}

.vessel-image-sidebar {
    width: 100px;
    height: 50px;
    object-fit: cover;
}

/* .vessel-image-sidebar:hover {
    cursor: pointer;
} */


/* Always set the map height explicitly to define the size of the div
       * element that contains the map. */
.map {
    width: 100%;
    min-height: 70vh;
    max-height: 100%;
}

.map-index {
    width: 100%;
    height: 81vh;
}

.map-sos {
    background-color: red;
    width: 100%;
    height: 400px;
}

.map-rpm,
.map-exh,
.map-iot {
    width: 100%;
    min-height: 70vh;
    max-height: 100%;
    background-color: lightskyblue;
}

.iot-infowindow-table {
    min-width: 300px;
}

.map-geo,
.map-geo-ird {
    width: 100%;
    min-height: 80vh;
    max-height: 100%;
}

.map-loop-manifest {
    width: 100%;
    min-height: 60vh;
    max-height: 90vh;
}

.map-sos-label {
    border-bottom: 5px solid black;
}

/* @media (min-width: 768px) and (max-width: 1199.98px) {
    .map {
        height: 100%;
    }
 }

 @media only screen and (max-width: 767.98px) {
    .map {
        width: 100%;
        height: 550px;
    }
} */



/* .google-maps {
    position: relative;
    padding-bottom: 100%;
    height: 0;
    overflow: hidden;
}
.map {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
} */

/* Optional: Makes the sample page fill the window. */
html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
}

/* #home_button:link {
    color: grey;
    background-color: transparent;
    text-decoration: none;
}

#home_button:visited {
    color: grey;
    background-color: transparent;
    text-decoration: none;
}

#home_button:hover {
    color: darkgrey;
    background-color: transparent;
    text-decoration: underline;
}

#home_button:active {
    color: darkgrey;
    background-color: transparent;
    text-decoration: underline;
} */

#scrollBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: darkgray;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

#scrollBtn:hover {
    background-color: #555;
    /* Add a dark-grey background on hover */
}

#askBtn {
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    border: none;
    /* Remove borders */
    outline: none;
    /* Remove outline */
    background-color: lightblue;
    /* Set a background color */
    color: white;
    /* Text color */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 10px;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
}

#askBtn:hover {
    background-color: darkturquoise;
    /* Add a dark-grey background on hover */
}

.loading {
    background: transparent url('../img/load100.gif') center no-repeat;
}

.loading-index {
    background: transparent url('../img/load100new.gif') center no-repeat;
}

.frame {
    object-fit: scale-down;
    /* width: 50px; */
    max-height: 30vh;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.dropdown-item:hover {
    cursor: pointer;
}

.gl-cr-add-list {
    max-height: 50vh;
    overflow-y: scroll;
}

table.left td,
td.left {
    /* vertical-align: middle; */
    text-align: left;
}

tr.middle>th,
tr.middle td,
th.middle,
td.middle {
    vertical-align: middle;
    text-align: center;
    margin: 0;
}

tbody.right>tr>td,
td.right {
    /* vertical-align: middle; */
    text-align: right;
}

.btn-standby-danger {
    /* background-color: lightcoral; */
    background-color: #ff6961;
    color: darkred;
}

.bold {
    font-weight: bolder;
}

.opac-0 {
    opacity: 0;
}

a {
    outline: none;
}

.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
    max-height: 200px;
}

.edit-image {
    position: absolute;
    /* right: 0; */
    /* top: 0; */
    top: 1;
    margin-top: 2%;
    margin-left: 85%;

    z-index: 2;
}

/* .carousel {
    height: 80vh;
} */


/* .tales {
    width: 100%;
}

.carousel-inner{
    height: 100%;
    width: auto;
max-height: 200px !important;
} */

.main-card {
    padding: 10px;
}

.main-card h4 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #2363AD;
    font-weight: bolder;
}

.main-card:hover h4 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: white;
    font-weight: bolder;
}

.main-card:hover {
    background-color: #4a91e4;
    cursor: pointer;
    color: white;
}

.main-logo {
    font-size: 50px;
}

.footer-title {
    color: whitesmoke;
    font-weight: 900;
}

.footer-text {
    color: whitesmoke;
    font-weight: 500;
}

.soc-icon {
    font-size: 25px;
    color: rgb(199, 199, 199);
    margin-right: 10px;
}

.card-img-top {
    max-height: 12rem;
}


.card-img-top-cust {
    height: 9rem;
    object-fit: scale-down;
}

.card-img-top-wide {
    height: 7rem;
    object-fit: cover;
}

.jump-link:hover {
    cursor: pointer;
}

.middle-div {
    margin: 0 auto;
}

.shop-main-card {
    height: 80vh;
}

.shop-main-card-index {
    height: 47vh;
}

.btn-shop {
    border-radius: 0px;
}

.form-select:hover {
    cursor: pointer;
}

.co-amount {
    position: absolute;
    right: 0px;
    bottom: 0px;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    color: #19d600;
    font-weight: bolder;
}

/* .detail-btn {
    position: absolute;
    bottom: 0px;
} */

.err-btn {
    font-size: 1rem;
    color: red;
}

.err-btn:hover {
    cursor: pointer;
}

.small-dd .dropdown-item {
    padding: 0px 5px !important;
    font-size: 12px !important;
}

.docs-btn {
    font-size: 0.7rem;
    color: #F49223;
}

.docs-link {
    color: #F49223;
    text-decoration: underline;
    text-decoration-style: dashed;
}

.docs-link::before {
    content: "More Information";
}

#profile-dropdown a {
    text-align: end;
}

.docs-link:hover {
    color: #c6771d;
}

.cross {
    color: #ff0000;
}

.check {
    color: #00ff00;
}

.car-img {
    object-fit: scale-down;
}

.container-fluid .full-width {
    padding-left: 0;
    padding-right: 0;
    overflow-x: hidden;
}

.row .row-no-gutter {
    margin: 0
}

.nowrap {
    white-space: nowrap;
}

table.nowrap>tr {
    white-space: nowrap;
}

table.winTable td {
    padding: 0 3px;
}

#satnet-container {
    background-color: blue;
}

.info {
    background-color: #F8F9FA;
}

/* Solid border */
hr.solid {
    border-top: 3px solid #bbb;
}

.num-col {
    width: 10px;
}

.carousel-item {
    height: 100%;
}

.window-link-btn {
    color: #3D95DE;
}

.window-link-btn:hover {
    cursor: pointer;
    color: #2F74AE;
    /* color: red; */
}

a.disabled:hover,
input[readonly],
select[readonly],
input[disabled],
select[disabled] {
    cursor: not-allowed;
}

.dropdown-menu.scrollable {
    max-height: 40vh;
    overflow-y: scroll;
}

.info-top tr:first-child td {
    border-top: 0;
}

table.no-top-border tr:first-child td {
    border-top: 0;
}

.blink {
    animation: blinker 1s linear infinite;
}

@keyframes blinker {
    50% {
        opacity: 0;
    }
}

iframe {
    /* position: absolute; */
    height: 100%;
    width: 100%;
    border: none
}

/* td.dt-control:before { */
.dt-control:before,
.dt-rpm-notif-control:before {
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: inline-block;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1em;
    content: "+";
    background-color: #31b131;
    cursor: pointer;
}

tr.shown .dt-control:before,
tr.shown .dt-rpm-notif-control:before,
tr.shown-weather .dt-control:before,
tr.shown-detail .dt-control:before {
    content: "-";
    background-color: #d33333;
    cursor: pointer;
}

.summary-table {
    height: 35vh;
    /* Just for the demo          */
    overflow-y: auto;
    /* Trigger vertical scroll    */
}

.rpm-chart-container {
    /* padding: 1em; */
    background-color: white;
}

/* rpm detail control */
.dt-rpm-control:before,
.dt-iot-control:before {
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: inline-block;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1em;
    content: "+";
    /* background-color: #31b131; */
    background-color: #3490dc;
    cursor: pointer;
}

tr.shown-detail .dt-rpm-control:before,
tr.shown-detail .dt-iot-control:before {
    content: "-";
    background-color: #6c757d;
    cursor: pointer;
}

/* tr.shown .dt-rpm-control:before, tr.shown .dt-iot-control:before {
    content: "-";
    background-color: #d33333;
    cursor: pointer;
} */

/* rpm weather control */
.dt-rpm-weather-control:before {
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: inline-block;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1em;
    content: "+";
    background-color: #31b131;
    cursor: pointer;
}

tr.shown-weather .dt-rpm-weather-control:before {
    content: "-";
    background-color: #d33333;
    cursor: pointer;
}

/* engine data detail control */
.dt-engine-data-detail-control:before {
    height: 1em;
    width: 1em;
    margin-top: -9px;
    display: inline-block;
    color: white;
    border: .15em solid white;
    border-radius: 1em;
    box-shadow: 0 0 .2em #444;
    box-sizing: content-box;
    text-align: center;
    text-indent: 0 !important;
    font-family: "Courier New", Courier, monospace;
    line-height: 1em;
    content: "+";
    background-color: #31b131;
    cursor: pointer;
}

tr.shown .dt-engine-data-detail-control:before {
    content: "-";
    background-color: #d33333;
    cursor: pointer;
}

.latlong-link-btn {
    /* color: red; */
    text-decoration-line: underline;
    text-decoration-style: dotted;
}

.latlong-link-btn:hover {
    cursor: pointer;
    color: blue;
    text-decoration: underline;
}

/* .show-nfa-usage{
    text-decoration-line: underline;
    text-decoration-style: dotted;
} */

.show-nfa-usage:hover {
    cursor: pointer;
}

.weatherInfo {
    background-color: #FFFFFF;
}

.engineDataInfo {
    background-color: #FFFFFF;
    /* font-size: smaller; */
}

.rpm-weather-container,
.rpm-detail-container {
    background-color: #FFFFFF;
    margin-top: 0.5;
}

table.fit-to-content tr td {
    width: 1%;
    white-space: nowrap;
}

.ftc {
    width: 1%;
    white-space: nowrap;
}

#legend {
    font-family: Arial, sans-serif;
    background: #fff;
    padding: 10px;
    margin: 10px;
    border: 3px solid #000;
}

#legend h3 {
    margin-top: 0;
    font-size: 2em;
}

#legend div {
    margin-bottom: 7px;
}

#legend img {
    vertical-align: middle;
    max-height: 1rem;
}

#legend span {
    font-size: 1em;
}

.markerLabel {
    /* 1 pixel black shadow to left, top, right and bottom */
    text-shadow: -1px 0 white, 0 1px white, 1px 0 white, 0 -1px white;
    /* font-size: 10px; */
    font-weight: bold;
    font-family: sans;
    margin-top: 3em;
    /* background-color: #fff; */
    /* background-color: rgba(255, 255, 255, 0.4); */
    /* color: yellow; */
}

.weatherIcon {
    max-height: 2em;
}

.winPanel {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    border: 1px solid #000000;
    padding: 1.2em;
    margin-top: 1em;

    /* margin: 10px; */
}

.winLogo {
    image-rendering: -webkit-optimize-contrast;
    max-height: 1.8em;
}

.weather-arrow-icon {
    height: 1em;
}

.weather-direction-info {
    cursor: pointer;
    text-decoration-line: underline;
    text-decoration-style: dashed;
}

.weather-direction-info:hover {
    text-decoration: underline;
}

div#dataTable-snapshot_processing {
    /* font: bolder; */
    font-weight: bold;
    /* font-size: 3em; */
    /* border-radius: 3px; */
    border: 2px solid #000000;
}

progress.over {
    -webkit-appearance: none;
    appearance: none;
}

progress.over::-webkit-progress-value {
    background: red;
}

.image-prev {
    object-fit: cover;
    width: 100px;
    height: 100px;
}

/* #sailink-wrapper {
    overflow: hidden;
} */

#sailink-gallery-container {
    /* height: 160px; */
    max-height: 40vh;
    overflow-y: scroll;
    /* width: 400px; */
}

#sailink-thuraya-gallery-container {
    max-height: 40vh;
    overflow-y: scroll;
    /* width: 400px; */
}

/* .dropdown-menu {
    transition: 1s;
} */

.crew-show-detail:hover {
    background-color: darkgray;
    cursor: pointer;
}

.crew-status-dot {
    max-height: 10px;
}

#myChart {
    max-height: 200px;
}

.font-courier {
    font-family: 'Courier New', Courier, monospace;
}

#dataTable-cr td {
    width: 50%;
}

li.dd-item {
    border-bottom: 1px solid;
}

.modal-xl {
    width: 90vw;
    max-width: 1500px;
}

.time-counter {
    font-family: 'Courier New', Courier, monospace;
    font-weight: bold;
    margin-bottom: 0px;
}

table.table tbody tr.highlight-fix {
    background-color: orange;
}

.highlight-animate {
    animation: fadeInHighlight 2s;
    /* animation-fill-mode: forwards; */
}

.highlight-blink {
    animation: fadeInHighlight 1s linear 1;
}

@keyframes fadeInHighlight {
    0% {
        background-color: orange;
    }

    100% {
        background-color: none;
    }
}

.box-overlay {
    padding: 1em 1em 0.5em 0.5em;
    border: 0.2em dotted grey;
    position: relative;
    margin-top: -10px;
}

.box-title {
    position: relative;
    font-size: 1em;
    font-weight: 500;
    background-color: #FFF;
    z-index: 1000;
    display: inline-block;
    /* text-align: center; */
    transform: translateX(-5%);
    /* left: 50%; */
    padding-right: 0.3em;
}

#dataTable-engine-data tbody tr td {
    vertical-align: middle;
    text-align: center;
}

#dataTable-engine-data .form-control {
    line-height: inherit;
}

#dataTable-cb {
    width:100%;
    table-layout:fixed;
}

/* #dataTable-summary-vl {
    width: 100%;
} */

.soil-info-font {
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    color: blue;
}

.soil-info-font:hover{
    color: black;
}

/* #dataTable-cb td {
    max-width: 50%;
} */

.export-ex-btn {
    margin-bottom: 0;
    font-weight: 100 !important;
}

.export-ex-btn input {
    vertical-align: middle;
}

.summaryReport-hour {
    width: 50px;
    height: 1.5em;
}

.summaryBtnContainer {
    border: 1px solid black;
}
